package com.zhang.mall.service;

import com.zhang.mall.mbg.model.PmsBrand;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author yihao
 * @time 2022/04/24 09:58:44
 */
@Resource
public interface IPmsBrandService {

    List<PmsBrand> listAllBrand();

    int createBrand(PmsBrand brand);

    int updateBrand(Long id, PmsBrand brand);

    int deleteBrand(Long id);

    List<PmsBrand> listBrand(int pageNum, int pageSize);

    PmsBrand getBrandById(Long id);
}
